.content {
    margin: 5px;
    overflow: visible;
}

.SearchMain {
    margin: 5px;
    overflow: visible;
}

.List .Card {
    margin-bottom: 10px;
    background: #fff;
    overflow: visible;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 3px rgba(26, 26, 26, .1);
    box-shadow: 0 1px 3px rgba(26, 26, 26, .1);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.List .SearchResult-Card {
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 12px;
    overflow: visible;
    padding-top: 4px;
}

.List-item {
    position: relative;
    padding: 16px 20px;
}

h1, h2, h3 {
    margin: 0;
    font: inherit;
}

.ContentItem-title {
    font-size: 18px;
    font-weight: 600;
    font-synthesis: style;
    line-height: 1.6;
    color: #1a1a1a;
    margin-top: -4px;
    margin-bottom: -4px;
}

.SearchResult-Card .ContentItem-title {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.Highlight em {
    font-style: normal;
    color: #f1403c;
}

.RichContent {
    line-height: 1.67;
}

.RichContent-inner {
    margin-top: 9px;
    margin-bottom: -4px;
    overflow: hidden;
}

.SearchResult-Card .RichContent-inner {
    margin-top: 6px;
}

.RichContent.is-collapsed .RichContent-inner {
    max-height: 100px;
}

.ztext {
    line-height: 1.6;
}

.ztext b {
    font-weight: 600;
    font-synthesis: style;
}

.ztext > :first-child {
    margin-top: 0;
}

.ztext > :last-child {
    margin-bottom: 0;
}

button {
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body, button, p, pre {
    margin: 0;
}

.Button {
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    color: #8590a6;
    text-align: center;
    cursor: pointer;
    background: none;
    border: 1px solid;
    border-radius: 3px;
}

.Button--link, .Button--plain {
    height: auto;
    padding: 0;
    line-height: inherit;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.CopyrightRichText-richText p:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.CopyrightRichText-richText p:not(:first-child) {
    display: none;
}

.content-hide {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ContentItem-more {
    padding: 0;
    margin-left: 4px;
    color: #175199;
}

.ContentItem-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 20px;
    margin: 0 -20px -10px;
    color: #646464;
    background: #fff;
    clear: both;
}

.ContentItem-actions > * {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.ContentItem-actions .VoteButton {
    padding: 0 10px;
    color: #0084ff;
    background: rgba(0, 132, 255, .1);
    border-color: transparent;
}

.VoteButton-TriangleUp {
    margin-right: 5px;
}

.VoteButton--down {
    margin-left: 4px;
}

.Button--withIcon.Button--link, .Button--withIcon.Button--plain {
    padding: 0;
}

.btn-group {
    vertical-align: text-bottom;
    fill: currentColor;
    color: #8590a6;
    margin-left: 16px;
    font-size: 14px;
}

.Button--withIcon.Button--withLabel .Button-zi {
    margin-right: 4px;
}

.ContentItem-title a:hover, html[data-theme=dark] .ContentItem-title a:hover {
    color: #175199;
    text-decoration: none;
}

.VoteButton:not(:disabled):hover {
    background-color: rgba(0, 132, 255, .15);
}

.SearchItem-meta {
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.SearchItem-meta.SearchItem-authorInfo {
    margin: 12px 0;
}

.SearchResult-Card .SearchItem-meta {
    margin-top: 4px;
    line-height: 24px;
}

.AuthorInfo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.Popover {
    position: relative;
    display: inline-block;
}

.Avatar {
    background: #fff;
    border-radius: 2px;
}

.AuthorInfo-avatar {
    vertical-align: top;
}

.SearchMain .Avatar {
    -o-object-fit: cover;
    object-fit: cover;
}

.AuthorInfo-content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
    margin-left: 14px;
    overflow: hidden;
}

.AuthorInfo--plain .AuthorInfo-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 10px;
}

.AuthorInfo-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 15px;
    line-height: 1.1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.AuthorInfo-name {
    font-weight: 600;
    font-synthesis: style;
    color: #444;
}

.ztext .content_image, .ztext .origin_image {
    display: block;
    max-width: 100%;
    margin: 1.4em auto;
}

.ztext figure .content_image, .ztext figure .origin_image {
    margin: 0 auto;
}

.ztext .content_image.zh-lightbox-thumb, .ztext .origin_image.zh-lightbox-thumb {
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.ztext p {
    margin: 1.4em;
}

.ContentItem-arrowIcon.is-active {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.Popover-content {
    position: absolute;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 20px rgba(26, 26, 26, .1);
    box-shadow: 0 5px 20px rgba(26, 26, 26, .1);
    z-index: 203;
    display: none;
}

.Popover-content--top {
    -webkit-transform-origin: bottom center;
    transform-origin: bottom center;
    margin-top: -8px;
}

.Popover-content--top.Popover-content--arrowed {
    margin-top: -16px;
}

.Popover-arrow {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
}

.Popover-arrow--top {
    width: 32px;
    height: 16px;
    margin-top: -2px;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
}

.Menu {
    padding: 6px 0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.AnswerItem-selfMenu {
    font-size: 14px;
    color: #8590a6;
}

.Menu-item {
    display: block;
    width: 100%;
    padding: 0 20px;
    text-align: left;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.AnswerItem-selfMenuItem {
    line-height: 40px;
}

.Icon {
    vertical-align: text-bottom;
    fill: currentColor;
}

.ContentItem-action:not(:first-child) {
    margin-left: 16px;
}

.ContentItem-action.ContentItem-rightButton {
    margin-left: auto;
}
